package com.example.week07.service;

import com.example.week07.dao.model.User;

import java.util.List;

/**
 * @author 西柚
 */
public interface IUserService {

    /**
     * 新增用户
     *
     * @param user
     */
    void add(User user);

    /**
     * 批量新增用户
     *
     * @param userList
     */
    void batchAdd(List<User> userList);

}
